﻿function gb_bgcolor(e,cTzdID)
{
	for(i=0;i<document.getElementById("mxh").rows.length;i++)
		document.getElementById("mxh").rows[i].bgColor=""
	e.bgColor="#cccccc"
}
function gb_bgcolor2(e,zp1,zp2)
{
	for(i=0;i<document.getElementById("zp2").rows.length;i++)
		document.getElementById("zp2").rows[i].bgColor=""
	e.bgColor="#cccccc"
	
	document.Form1.selectedzp1.value=zp1;
	document.Form1.selectedzp2.value=zp2;
}
function CmdXz(cName1,ii,iCount)
{
  for (i=1;i<=iCount;i++){
   //alert(cName1 + i);
   document.all(cName1 + i).bgColor="";
  } 
  document.all(cName1 + ii ).bgColor = "#588FC7"
}
function js_callpage(htmlurl) {
  var newwin=window.open(htmlurl,'cjcx',"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=" + (screen.availheight / 2 - 150 ) + " ,left=" + (screen.availwidth / 2 - 350 ) + ",width=700,height=300");
}
function areyousure(){
    return confirm("你确定删除这条内容");
}